<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>   
<%
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>
  <head>
    <base href="<%=basePath%>">  
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/login.css" ></link>
	<script type="text/javascript">
		if(window !=top){
			top.location.href=location.href;
		}
	</script>
  </head>
  
   <body>
 	     <div id="div_center">
 	    	 <form action="LoginServlet" method="post">
 	    	 <input type="hidden" name="flag" value="login"/>
 				<div id="div_inputbox">
 					<input type="text" id="adminName" name="adminName" value="${param.adminName }"/>
 					<input type="password" id="password"  name="password" value="${param.password }"/>
 				</div>
 				<input id="btn_img" type="image" src="images/bg_login_btn.jpg" />
 			</form>
 	 	 </div>
 	 	 <script type="text/javascript">
 	 	 		var t = "${msg}";
 	 	 		if(t!=""){
 	 	 			alert(t);
 	 	 		}
 	 	 		var login="${login}"
 	 	 		if(login!=""){
 	 	 			alert(login);
 	 	 		}
 	 	 </script>
  </body>
</html>